package com.gopay.common.domain.cbrmb.draw;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * 强制更新订单状态操作记录
 * @ClassName: CbrmbOrderForceUpdate 
 * @author junjie.ge 
 * @date 2016年11月1日 下午3:09:48
 */
@Entity
@Table(name="CB_RMB_ORDER_FORCE_UPDATE")
public class CbrmbOrderForceUpdate implements Serializable {
    private static final long serialVersionUID = -7226515826217965547L;
    @Id
    @SequenceGenerator(name="force_update_seq", sequenceName="CB_RMB_ORDER_FORCE_UPDATE_SEQ", allocationSize=1)
    @GeneratedValue(generator="force_update_seq",strategy=GenerationType.SEQUENCE)
    @Column(name="ID", unique = true, nullable = false)
    private Long id;
    @Column(name="GOPAY_INT_TXN_CODE", nullable = false, length=8)
    private String gopayIntTxnCd;
    @Column(name="GOPAY_MAIN_ORDER_ID", unique = true, nullable = false, length=32)
    private String gopayMainOrderId;
    @Column(name="OPERATOR_ID", nullable = false, length=30)
    private String operatorId;
    @Column(name="UPDATE_RESULT", nullable = false, length=50)
    private String updateResult;
    @Column(name="UPDATE_REMARK", nullable = false, length=2000)
    private String updateRemark;
    @Column(name="ORIGINAL_ORDER_STATUS", length=20)
    private String originalOrderStatus;
    @Column(name="UPDATED_ORDER_STATUS", length=20)
    private String updatedOrderStatus;
    @Temporal(TemporalType.TIMESTAMP)
    @Column(name="CREATE_TIME", nullable = false)
    private Date createTime;
    @Temporal(TemporalType.TIMESTAMP)
    @Column(name="UPDATE_TIME")
    private Date updateTime;
    public Long getId() {
        return id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getGopayIntTxnCd() {
        return gopayIntTxnCd;
    }
    public void setGopayIntTxnCd(String gopayIntTxnCd) {
        this.gopayIntTxnCd = gopayIntTxnCd;
    }
    public String getGopayMainOrderId() {
        return gopayMainOrderId;
    }
    public void setGopayMainOrderId(String gopayMainOrderId) {
        this.gopayMainOrderId = gopayMainOrderId;
    }
    public String getOperatorId() {
        return operatorId;
    }
    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }
    public String getUpdateResult() {
        return updateResult;
    }
    public void setUpdateResult(String updateResult) {
        this.updateResult = updateResult;
    }
    public String getUpdateRemark() {
        return updateRemark;
    }
    public void setUpdateRemark(String updateRemark) {
        this.updateRemark = updateRemark;
    }
    public String getOriginalOrderStatus() {
        return originalOrderStatus;
    }
    public void setOriginalOrderStatus(String originalOrderStatus) {
        this.originalOrderStatus = originalOrderStatus;
    }
    public String getUpdatedOrderStatus() {
        return updatedOrderStatus;
    }
    public void setUpdatedOrderStatus(String updatedOrderStatus) {
        this.updatedOrderStatus = updatedOrderStatus;
    }
    public Date getCreateTime() {
        return createTime;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public Date getUpdateTime() {
        return updateTime;
    }
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    
}
